package com.ocom.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CompanyRoleDto implements Serializable {

    private Long roleId;
    @NotBlank(message = "roleName 不能为空")
    private String roleName;
    @NotNull(message = "comId 不能为空")
    private Long comId;
    private Integer parentRole;
}
